Other Type Aliases
The following type aliases are available globally.
-
Callback that has no value as a success and a
ClientErroron failureDeclaration
Swift
public typealias NoValueCallback = (Result<NoValue, ClientError>) -> Void -
Callback that returns a string
Declaration
Swift
public typealias StringResultCallback = (Result<String, ClientError>) -> Void -
Callback that returns an URL
Declaration
Swift
public typealias URLResultCallback = (Result<URL, ClientError>) -> Void -
Callback that returns a boolean
Declaration
Swift
public typealias BoolResultCallback = (Result<Bool, ClientError>) -> Void -
Callback that returns the status of an identifier
Declaration
Swift
public typealias IdentifierStatusResultCallback = (Result<IdentifierStatus, ClientError>) -> Void -
Callback that returns the terms and conditions links
See also
IdentityManager.fetchTermsDeclaration
Swift
public typealias TermsResultCallback = (Result<Terms, ClientError>) -> Void -
Callback that returns information about the your client
See also
IdentityManager.fetchClientDeclaration
Swift
public typealias ClientResultCallback = (Result<Client, ClientError>) -> Void -
Callback that returns the required fields -seeAlso `IdentityManager.requiredFields -seeAlso ‘UserProfileAPI.requiredFields
Declaration
Swift
public typealias RequiredFieldsResultCallback = (Result<[RequiredField], ClientError>) -> Void -
Callback that returns the user’s assets
Declaration
Swift
public typealias UserAssetsResultCallback = (Result<[UserAsset], ClientError>) -> Void
View on GitHub
Other Type Aliases Reference